﻿function start() {
    im.gainItem(2430070, -1);
    var ii = im.getItemInfo();
    var toDrop = ii.randomizeStats(ii.getEquipById(1112916)).copy();
    toDrop.setStr(20); //装备力量
    toDrop.setDex(20); //装备敏捷
    toDrop.setInt(20); //装备智力
    toDrop.setLuk(20); //装备运气
    toDrop.setMatk(18); //物理攻击
    toDrop.setWatk(18); //魔法攻击
    toDrop.setSpeed(20); //移动速度	
    toDrop.setHp(188);//hp
    toDrop.setMp(188);//mp
    toDrop.setJump(10); //跳跃
    toDrop.setAcc(50); //命中率
    toDrop.setEnhance(5);//强化等级
    toDrop.setPotential1(40086);
    toDrop.setPotential2(30086);
    toDrop.setPotential3(30086);
    toDrop.setOwner("夏娜");
    toDrop.setExpiration(java.lang.System.currentTimeMillis() + (22 * 60 * 60 * 1000));
    im.addFromDrop(im.getC(), toDrop, false)
    im.setBossLog("送装备", 1);
    im.playerMessage(1, "领取成功！\r\n寂寞单身戒子x1");
    im.dispose();
}